package com.rapid.maintenance.ui.activity.paimai;

import android.util.DisplayMetrics;
import android.view.ViewGroup;
import android.widget.RelativeLayout;

import com.rapid.maintenance.R;
import com.rapid.maintenance.base.BaseActivity;

import butterknife.BindView;

public class KaixinJianlouAcktivity extends BaseActivity {
    @BindView(R.id.rl_head)
    RelativeLayout rl_head;

    @Override
    protected int provideRootLayout() {
        return R.layout.activity_paimai_kaixinjianlou;
    }

    @Override
    protected void init() {
        DisplayMetrics dm = getResources().getDisplayMetrics();
        int mHeight = (int) ((dm.widthPixels)/375) * 195;
        ViewGroup.LayoutParams params = rl_head.getLayoutParams();
        // params.width = mWidth;
        params.height = mHeight;
        rl_head.setLayoutParams(params);
        setTitle("开心捡漏");
    }

}
